package com.oncliedisk.administrator.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;

import com.oncliedisk.administrator.Base.BaseActivity;
import com.oncliedisk.administrator.DB.Dao;
import com.oncliedisk.administrator.content.FileConfig;


/**
 * Created by Administrator on 2015/12/4.
 */
public class ApplicationActivity extends BaseActivity implements View.OnClickListener, AdapterView.OnItemLongClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initData();
    }
    /**
     * 初始化数据
     */
    private void initData() {
        setTitle("应用");
        initAdapter(Dao.getInstance(ApplicationActivity.this).getFileByType(FileConfig.TYPE_APP));
        listView.setAdapter(adapter);
    }


}
